package com.gosilver.context;

import com.gosilver.beans.BeansException;

public interface ConfigurableApplicationContext extends ApplicationContext{
    /**
     * 刷新容器
     *
     * @throws BeansException
     */
    void refresh() throws BeansException;

    /**
     * 注册关闭钩子
     */
    void registerShutdownHook() throws BeansException;

    /**
     * 销毁方法
     */
    void close() throws BeansException;
}
